/**
 * Sangame.com Inc.
 * Copyright (c) 2006-2011 All Rights Reserved.
 */
package com.nmp.persistence.entity;

import javax.persistence.Table;

/**
 * 租户信息
 * @author defier.lai
 * 2011-11-27 下午11:18:10
 * @version 1.0
 */
@Table(name="nmp_tenant_infos")
public class TenantInfo extends BaseEntity {
	
	/** 登录名 **/
	private String loginName;
	/** 登录密码 **/
	private String loginPwd;
	/** 登录密码hash **/
	private String pwdHash;
	/** 登录时间 **/
	private String loginTime;
	/** 登录IP **/
	private String loginIp;
	/** email **/
	private String email;
	/** 使用的产品版本 **/
	private String productVersion;
	/** 登录次数 **/
	private String loginNumber;
	/** 登录帐户类型，0:应用注册用户,1:淘宝,2:新浪微博,3:腾讯微博 **/
	private int accountType;
	/** 登录帐户关联的Id,不同类型去不同 表中查询详细信息 **/
	private long accountId;
	
	
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getLoginPwd() {
		return loginPwd;
	}
	public void setLoginPwd(String loginPwd) {
		this.loginPwd = loginPwd;
	}
	public String getPwdHash() {
		return pwdHash;
	}
	public void setPwdHash(String pwdHash) {
		this.pwdHash = pwdHash;
	}
	public String getLoginTime() {
		return loginTime;
	}
	public void setLoginTime(String loginTime) {
		this.loginTime = loginTime;
	}
	public String getLoginIp() {
		return loginIp;
	}
	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getProductVersion() {
		return productVersion;
	}
	public void setProductVersion(String productVersion) {
		this.productVersion = productVersion;
	}
	public String getLoginNumber() {
		return loginNumber;
	}
	public void setLoginNumber(String loginNumber) {
		this.loginNumber = loginNumber;
	}
	public int getAccountType() {
		return accountType;
	}
	public void setAccountType(int accountType) {
		this.accountType = accountType;
	}
	public long getAccountId() {
		return accountId;
	}
	public void setAccountId(long accountId) {
		this.accountId = accountId;
	}

}
